//
//  DKOrderDetailModel.h
//  DanKU
//
//  Created by EDY on 2023/11/12.
//

#import <Foundation/Foundation.h>

@class DKOrderDetailModel;
@class DKOrderDetailPairsModel;

@class DKDelayFlexibleModel;
@class DKDelayFlexibleDelayTermModel;

NS_ASSUME_NONNULL_BEGIN

@interface DKOrderDetailModel : NSObject
@property (nonatomic, copy)NSString * orderNo;
@property (nonatomic, copy)NSArray  *pairs;
@property (nonatomic, copy)NSString * productName;
@property (nonatomic, copy)NSString * repayAmount;
@property (nonatomic, copy)NSString * slogan;
@property (nonatomic, assign)int  status;
@property (nonatomic, assign)int  delayStatus;
@end

@interface DKOrderDetailPairsModel : NSObject
@property (nonatomic, copy)NSString * key;
@property (nonatomic, copy)NSString * value;
@end


@interface DKRepaymentDetailModel : NSObject
@property (nonatomic, copy)NSString * amount;
@property (nonatomic, copy)NSArray  *repaymentCodeList;
@property (nonatomic, copy)NSString * orderNo;
@end

@interface DKRepaymentCodeListModel : NSObject
@property (nonatomic, copy)NSString * paymentCode;
@property (nonatomic, copy)NSString * repaymentLead;
@property (nonatomic, copy)NSString * hint;
@end


@interface DKDelayFlexibleModel : NSObject
@property (nonatomic, copy)NSString * amount;
@property (nonatomic, copy)NSString  *delayExpiryTime;
@property (nonatomic, copy)NSString * delayNum;
@property (nonatomic, copy)NSString * delayTotalNum;
@property (nonatomic, copy)NSString * loanAmount;
@property (nonatomic, copy)NSString * orderNo;
@property (nonatomic, copy)NSString * repayAmount;
@property (nonatomic, copy)NSString * termUnit;
@property (nonatomic, copy)NSArray  *extensionDetails;
@property (nonatomic, strong)DKDelayFlexibleDelayTermModel  *delayTerm;
@end


@interface DKDelayFlexibleExtensionModel : NSObject
@property (nonatomic, copy)NSString * key;
@property (nonatomic, copy)NSString * value;
@end

@interface DKDelayFlexibleDelayTermModel : NSObject
@property (nonatomic, copy)NSString * defaultValue;
@property (nonatomic, copy)NSArray  *delayList;
@end

NS_ASSUME_NONNULL_END
